package ch4.ex6;

import static ch4.print.Print.*;

class Dog{
	void bark(int i, String s){
		println(i + " <- i | s -> " + s);
	}
	void bark(String s, int i){
		println(s + " <- s | i -> " + i);
	}
}
public class OverloadReverse {
	public static void main(String[] args){
		Dog d = new Dog();
		d.bark(1, "waf!");
		d.bark("baf", 2);
	}
}
